<template>
	<el-container direction="vertical">
		<lay-header />
		<el-container>
			<lay-aside />
			<el-main class="app-center">
				<router-view />
			</el-main>
		</el-container>
	</el-container>
</template>

<script>
import LayAside from "./LayAside.vue";
import LayHeader from "./LayHeader.vue";

export default {
	name: "Layouts",
	components: {
		LayAside,
		LayHeader
	}
};
</script>

<style lang="scss">
.app-center {
	height: calc(100dvh - 52px);
}
</style>
